/*
 * @Description: 
 * @Author: xiaenming
 * @Date: 2023-03-01 11:54:05
 * @LastEditTime: 2023-04-23 17:50:07
 * @LastEditors: xiaenming
 */
#ifndef _DRV_FLASH_H7_H_
#define _DRV_FLASH_H7_H_

#include "main.h"

int stm32_flash_erase(uint32_t addr, size_t size);
int stm32_flash_write(uint32_t addr, const uint8_t *buf, uint32_t size);
int stm32_flash_read(uint32_t addr,  uint8_t *buf, uint32_t size);
#endif
